console.log('可通过百度地图JS Api得到对应地区的经纬度\n' +
    'http://lbsyun.baidu.com/jsdemo.htm#f0_3');
var jingdu = 120.978191;
var weidu = 31.355341;
var map1 = new BMap.Map('allmap1');
map1.centerAndZoom(new BMap.Point(jingdu, weidu), 18);
map1.enableScrollWheelZoom(true);

var point1 = new BMap.Point(jingdu, weidu);
var marker1 = new BMap.Marker(point1);  // 创建标注
map1.addOverlay(marker1);               // 将标注添加到地图中
marker1.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画